package com.fmenu.system.domain;

import com.fmenu.common.annotation.Excel;
import com.fmenu.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 菜品对象 bns_dishes
 *
 * @author zhangrui
 * @date 2021-12-22
 */
public class BnsDishes extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 菜品id
     */
    private Long dishesId;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    private Long userId;

    /**
     * 菜品名称
     */
    @Excel(name = "菜品名称")
    private String dishesName;

    /**
     * 菜品类型
     */
    @Excel(name = "菜品类型")
    private String dishesType;

    /**
     * 做法步骤
     */
    @Excel(name = "做法步骤")
    private String practiceStep;

    /**
     * 做法视频参考
     */
    @Excel(name = "做法视频参考")
    private String practiceVideo;

    /**
     * 状态（0正常 1关闭）
     */
    @Excel(name = "状态", readConverterExp = "0=正常,1=关闭")
    private String status;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    public void setDishesId(Long dishesId) {
        this.dishesId = dishesId;
    }

    public Long getDishesId() {
        return dishesId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setDishesName(String dishesName) {
        this.dishesName = dishesName;
    }

    public String getDishesName() {
        return dishesName;
    }

    public void setDishesType(String dishesType) {
        this.dishesType = dishesType;
    }

    public String getDishesType() {
        return dishesType;
    }

    public void setPracticeStep(String practiceStep) {
        this.practiceStep = practiceStep;
    }

    public String getPracticeStep() {
        return practiceStep;
    }

    public void setPracticeVideo(String practiceVideo) {
        this.practiceVideo = practiceVideo;
    }

    public String getPracticeVideo() {
        return practiceVideo;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("dishesId", getDishesId())
                .append("userId", getUserId())
                .append("dishesName", getDishesName())
                .append("dishesType", getDishesType())
                .append("practiceStep", getPracticeStep())
                .append("practiceVideo", getPracticeVideo())
                .append("status", getStatus())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
